package com.simulation.superlotto.service;

import com.simulation.superlotto.model.Contrast;
import com.simulation.superlotto.model.Superlotto;
import com.simulation.superlotto.model.User;
import com.simulation.superlotto.model.Winn;
import com.simulation.superlotto.vo.ResSuperlottoVo;

import java.util.List;

/**
 * @author ：XXX
 * @date ：Created in 2020/12/1
 * @description ：
 * @version: 1.0
 */
public interface SuperlottoService {
    Superlotto superlotto(int number);
    //模拟投注
    Superlotto superlotto(String userName,int number);
    //对比投注结果
    void judge(Contrast c, int periodsNum);
    //查询历史期数开奖记录
    Winn judge(long periodsNum);
    User selectUser(String userName);
}
